package constant;

/**
 * @author lit
 * @date 2018/3/20.
 */
public class DatabaseConstant {
    public static final String DRIVER_NAME_SQLSERVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";

    public static final String SQLSERVER_HOST_KEY = "sqlserver.host";
    public static final String SQLSERVER_PORT_KEY = "sqlserver.port";
    public static final String SQLSERVER_USER_KEY = "sqlserver.user";
    public static final String SQLSERVER_PASSWORD_KEY = "sqlserver.password";
    public static final String SQLSERVER_DATABASE_KEY = "sqlserver.database";

    public static final String SQLSERVER_HOST_DEFAULT = "localhost";
    public static final String SQLSERVER_PORT_DEFAULT = "1433";
    public static final String SQLSERVER_USER_DEFAULT = "sa";
    public static final String SQLSERVER_PASSWORD_DEFAULT = "123456";
    public static final String SQLSERVER_DATABASE_DEFAULT = "IDBox_Master";

    public static final String REDIS_HOST_KEY = "redis.host";
    public static final String REDIS_PORT_KEY = "redis.port";
    public static final String REDIS_HISTORY_PORT_KEY = "redis.history.port";

    public static final String REDIS_HOST_DEFAULT = "localhost";
    public static final String REDIS_PORT_DEFAULT = "6379";
    public static final String REDIS_HISTORY_PORT_DEFAULT = "6380";


}
